package com.zhenming.mirror.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author jisx
 * @date 2017/7/18
 */
@RestController
@RequestMapping(value = "image")
@Api("图片API")
public class ImageController {

    @Value("${imagePath}")
    private String imagePath;

    @RequestMapping(value = "/xx", method = RequestMethod.GET)
    @ApiOperation(value = "获取用户列表",notes = "获取所有的用户的详细信息")
    public void add() {
        System.out.println(imagePath);
    }

}
